package cn.edu.wfit.modules.infomanagement.dto;

import cn.edu.wfit.modules.infomanagement.domain.TBus;
import cn.edu.wfit.modules.infomanagement.domain.TBusDate;
import cn.edu.wfit.modules.infomanagement.domain.TBusReservation;
import cn.edu.wfit.modules.infomanagement.domain.TBusSchedule;

import java.util.List;

public class DriverAndSchedule extends TBusSchedule {
    //先根据用户id查询dchedule表中的deiverId记录
    //然后根据ScheduleId获取TBusDate表中的记录,根据status获取进行中的数据
    //然后根据TBusDateId获取TBusReservation表中的教师预约记录
    private List<DateAndReservation> dateAndReservation;
    private TBus tBus;

    public TBus gettBus() {
        return tBus;
    }

    public void settBus(TBus tBus) {
        this.tBus = tBus;
    }

    public List<DateAndReservation> getDateAndReservation() {
        return dateAndReservation;
    }

    public void setDateAndReservation(List<DateAndReservation> dateAndReservation) {
        this.dateAndReservation = dateAndReservation;
    }
}
